package com.schoolegard.services.impl;

import com.schoolegard.services.ParamAccessService;
import com.schoolgard.dao.ParamAccessDao;
import com.schoolgard.entitybean.ParamAccess;

public class ParamAccessServiceImpl implements ParamAccessService {
	
	private ParamAccessDao paramAccessDao;

	public void setParamAccessDao(ParamAccessDao paramAccessDao) {
		this.paramAccessDao = paramAccessDao;
	}

	@Override
	public ParamAccess findById(String accessId) {
		return paramAccessDao.findById(accessId);
	}

	@Override
	public void saveOrUpdate(ParamAccess paramAccess) {
		paramAccessDao.createOrModify(paramAccess);
	}
   
}
